#ifndef EDITORMANAGER_H
#define EDITORMANAGER_H

#include "states/statemanager.h"
class AbstractGameObject;
class Document;

namespace ObjectEditors {

class EditorManager : public StateManager
{
public:
    EditorManager(QObject* parent = 0);

	void paint(QPainter& painter);
private:
	QPointer<AbstractState> m_visualObjectEditor;
public slots:
	void onDocumentChanged(QPointer<Document> document);
};

} // namespace ObjectEditors 

#endif // EDITORMANAGER_H
